// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_hm_domains
// * CreateDate    : 2014-06-05 18:29:56
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:56
// * LastChanger   : 2014-06-05 18:29:56
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HmDomainsTable : TableInfo
    {
		public const string C_TableName = "hm_domains";
		
		public const string C_domainid = "domainid";
		public const string C_domainname = "domainname";
		public const string C_domainactive = "domainactive";
		public const string C_domainpostmaster = "domainpostmaster";
		public const string C_domainmaxsize = "domainmaxsize";
		public const string C_domainaddomain = "domainaddomain";
		public const string C_domainmaxmessagesize = "domainmaxmessagesize";
		public const string C_domainuseplusaddressing = "domainuseplusaddressing";
		public const string C_domainplusaddressingchar = "domainplusaddressingchar";
		public const string C_domainantispamoptions = "domainantispamoptions";
		public const string C_domainenablesignature = "domainenablesignature";
		public const string C_domainsignaturemethod = "domainsignaturemethod";
		public const string C_domainsignatureplaintext = "domainsignatureplaintext";
		public const string C_domainsignaturehtml = "domainsignaturehtml";
		public const string C_domainaddsignaturestoreplies = "domainaddsignaturestoreplies";
		public const string C_domainaddsignaturestolocalemail = "domainaddsignaturestolocalemail";
		public const string C_domainmaxnoofaccounts = "domainmaxnoofaccounts";
		public const string C_domainmaxnoofaliases = "domainmaxnoofaliases";
		public const string C_domainmaxnoofdistributionlists = "domainmaxnoofdistributionlists";
		public const string C_domainlimitationsenabled = "domainlimitationsenabled";
		public const string C_domainmaxaccountsize = "domainmaxaccountsize";
		public const string C_domaindkimselector = "domaindkimselector";
		public const string C_domaindkimprivatekeyfile = "domaindkimprivatekeyfile";
		
		public HmDomainsTable()
        {
            _tableName = "hm_domains";
        }
		
		protected static HmDomainsTable _current;
        public static HmDomainsTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HmDomainsTable();

            _current.Add(C_domainid, new ColumnInfo(C_domainid,"Domainid", true, typeof(int)));
            _current.Add(C_domainname, new ColumnInfo(C_domainname,"Domainname", false, typeof(string)));
            _current.Add(C_domainactive, new ColumnInfo(C_domainactive,"Domainactive", false, typeof(byte)));
            _current.Add(C_domainpostmaster, new ColumnInfo(C_domainpostmaster,"Domainpostmaster", false, typeof(string)));
            _current.Add(C_domainmaxsize, new ColumnInfo(C_domainmaxsize,"Domainmaxsize", false, typeof(int)));
            _current.Add(C_domainaddomain, new ColumnInfo(C_domainaddomain,"Domainaddomain", false, typeof(string)));
            _current.Add(C_domainmaxmessagesize, new ColumnInfo(C_domainmaxmessagesize,"Domainmaxmessagesize", false, typeof(int)));
            _current.Add(C_domainuseplusaddressing, new ColumnInfo(C_domainuseplusaddressing,"Domainuseplusaddressing", false, typeof(byte)));
            _current.Add(C_domainplusaddressingchar, new ColumnInfo(C_domainplusaddressingchar,"Domainplusaddressingchar", false, typeof(string)));
            _current.Add(C_domainantispamoptions, new ColumnInfo(C_domainantispamoptions,"Domainantispamoptions", false, typeof(int)));
            _current.Add(C_domainenablesignature, new ColumnInfo(C_domainenablesignature,"Domainenablesignature", false, typeof(byte)));
            _current.Add(C_domainsignaturemethod, new ColumnInfo(C_domainsignaturemethod,"Domainsignaturemethod", false, typeof(byte)));
            _current.Add(C_domainsignatureplaintext, new ColumnInfo(C_domainsignatureplaintext,"Domainsignatureplaintext", false, typeof(string)));
            _current.Add(C_domainsignaturehtml, new ColumnInfo(C_domainsignaturehtml,"Domainsignaturehtml", false, typeof(string)));
            _current.Add(C_domainaddsignaturestoreplies, new ColumnInfo(C_domainaddsignaturestoreplies,"Domainaddsignaturestoreplies", false, typeof(byte)));
            _current.Add(C_domainaddsignaturestolocalemail, new ColumnInfo(C_domainaddsignaturestolocalemail,"Domainaddsignaturestolocalemail", false, typeof(byte)));
            _current.Add(C_domainmaxnoofaccounts, new ColumnInfo(C_domainmaxnoofaccounts,"Domainmaxnoofaccounts", false, typeof(int)));
            _current.Add(C_domainmaxnoofaliases, new ColumnInfo(C_domainmaxnoofaliases,"Domainmaxnoofaliases", false, typeof(int)));
            _current.Add(C_domainmaxnoofdistributionlists, new ColumnInfo(C_domainmaxnoofdistributionlists,"Domainmaxnoofdistributionlists", false, typeof(int)));
            _current.Add(C_domainlimitationsenabled, new ColumnInfo(C_domainlimitationsenabled,"Domainlimitationsenabled", false, typeof(int)));
            _current.Add(C_domainmaxaccountsize, new ColumnInfo(C_domainmaxaccountsize,"Domainmaxaccountsize", false, typeof(int)));
            _current.Add(C_domaindkimselector, new ColumnInfo(C_domaindkimselector,"Domaindkimselector", false, typeof(string)));
            _current.Add(C_domaindkimprivatekeyfile, new ColumnInfo(C_domaindkimprivatekeyfile,"Domaindkimprivatekeyfile", false, typeof(string)));
			
		}
		
		public ColumnInfo domainid
        {
            get { return this[C_domainid]; }
        }
		
		public ColumnInfo domainname
        {
            get { return this[C_domainname]; }
        }
		
		public ColumnInfo domainactive
        {
            get { return this[C_domainactive]; }
        }
		
		public ColumnInfo domainpostmaster
        {
            get { return this[C_domainpostmaster]; }
        }
		
		public ColumnInfo domainmaxsize
        {
            get { return this[C_domainmaxsize]; }
        }
		
		public ColumnInfo domainaddomain
        {
            get { return this[C_domainaddomain]; }
        }
		
		public ColumnInfo domainmaxmessagesize
        {
            get { return this[C_domainmaxmessagesize]; }
        }
		
		public ColumnInfo domainuseplusaddressing
        {
            get { return this[C_domainuseplusaddressing]; }
        }
		
		public ColumnInfo domainplusaddressingchar
        {
            get { return this[C_domainplusaddressingchar]; }
        }
		
		public ColumnInfo domainantispamoptions
        {
            get { return this[C_domainantispamoptions]; }
        }
		
		public ColumnInfo domainenablesignature
        {
            get { return this[C_domainenablesignature]; }
        }
		
		public ColumnInfo domainsignaturemethod
        {
            get { return this[C_domainsignaturemethod]; }
        }
		
		public ColumnInfo domainsignatureplaintext
        {
            get { return this[C_domainsignatureplaintext]; }
        }
		
		public ColumnInfo domainsignaturehtml
        {
            get { return this[C_domainsignaturehtml]; }
        }
		
		public ColumnInfo domainaddsignaturestoreplies
        {
            get { return this[C_domainaddsignaturestoreplies]; }
        }
		
		public ColumnInfo domainaddsignaturestolocalemail
        {
            get { return this[C_domainaddsignaturestolocalemail]; }
        }
		
		public ColumnInfo domainmaxnoofaccounts
        {
            get { return this[C_domainmaxnoofaccounts]; }
        }
		
		public ColumnInfo domainmaxnoofaliases
        {
            get { return this[C_domainmaxnoofaliases]; }
        }
		
		public ColumnInfo domainmaxnoofdistributionlists
        {
            get { return this[C_domainmaxnoofdistributionlists]; }
        }
		
		public ColumnInfo domainlimitationsenabled
        {
            get { return this[C_domainlimitationsenabled]; }
        }
		
		public ColumnInfo domainmaxaccountsize
        {
            get { return this[C_domainmaxaccountsize]; }
        }
		
		public ColumnInfo domaindkimselector
        {
            get { return this[C_domaindkimselector]; }
        }
		
		public ColumnInfo domaindkimprivatekeyfile
        {
            get { return this[C_domaindkimprivatekeyfile]; }
        }
		
		
		
	}
}

